﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WmsService.Generate
{
    /// <summary>
    /// 工厂方法模式--库存号码管理对象
    /// </summary>
    public class RowIDControlPayApplyBillItem : RowIDControllerBase
    {
        private string payApplyBillID = string.Empty;
        public RowIDControlPayApplyBillItem(string payApplyBillID)
        {
            this.payApplyBillID = payApplyBillID;
        }

        protected override string GetCondition()
        {
            return String.Format(" and PayApplyBillID ='{0}'", payApplyBillID);
        }

        protected override string GetTableName()
        {
            return "PayApplyBillItem";
        }

        protected override string GetFieldName()
        {
            return "Idx";
        }
    }
}